import { CDHuangXiaoxi } from "../excel/CDHuangXiaoxi";
import { HuangXiaoxi } from "../struct/HuangXiaoxi";
import { HuangXiaoxiManager } from "../struct/HuangXiaoxiManager";

/**
 * 黄小西扩展
 */
export abstract class CEHuangXiaoxi {
	/** 获取所有黄小西配置 */
	public static getAllHuangXiaoxi(): CDHuangXiaoxi[] {
		if (!CDHuangXiaoxi.datas) return [];
		return CDHuangXiaoxi.datas.getValues();
	}
	/**
	 * 获取指定ID的黄小西
	 */
	public getHuangXiaoxi(hxxMgr:HuangXiaoxiManager,huangXiaoxiId: number): HuangXiaoxi {
		return hxxMgr.getHuangXiaoxiList(huangXiaoxiId);
	}
}
